using GameFramework.Fsm;
using GameFramework.Procedure;

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

using UnityGameFramework.Runtime;

public class Demo3_ProcedureLaunch : ProcedureBase
{
	protected override void OnEnter(IFsm<IProcedureManager> procedureOwner)
	{
		base.OnEnter(procedureOwner);

		SceneComponent scene=UnityGameFramework.Runtime.GameEntry.GetComponent<SceneComponent>();

		scene.LoadScene("Assets/Demo3/Demo3_Menu.unity", this);

		ChangeState<Demo3_ProcedureMenu>(
			procedureOwner);
	}
}
